#pragma once

#ifdef PKI_LEGACY
#include "pki/prod_legacy.h"
#endif

// AES KEYS
static const unsigned char prod_unfixed_ncch_keyX[4][16] =
{
	{ 0xb9, 0x8e, 0x95, 0xce, 0xca, 0x3e, 0x4d, 0x17, 0x1f, 0x76, 0xa9, 0x4d, 0xe9, 0x34, 0xc0, 0x53 }, // Regular
	{ 0xce, 0xe7, 0xd8, 0xab, 0x30, 0xc0, 0x0d, 0xae, 0x85, 0x0e, 0xf5, 0xe3, 0x82, 0xac, 0x5a, 0xf3 }, // >=7.0
	{ 0x82, 0xe9, 0xc9, 0xbe, 0xbf, 0xb8, 0xbd, 0xb8, 0x75, 0xec, 0xc0, 0xa0, 0x7d, 0x47, 0x43, 0x74 }, // >=9.3 (New3DS)
	{ 0x45, 0xad, 0x04, 0x95, 0x39, 0x92, 0xc7, 0xc8, 0x93, 0x72, 0x4a, 0x9a, 0x7b, 0xce, 0x61, 0x82 }  // >=9.6 (New3DS)
};

static const unsigned char ctr_common_etd_key_ppki[6][16] =
{
	{ 0x64, 0xC5, 0xFD, 0x55, 0xDD, 0x3A, 0xD9, 0x88, 0x32, 0x5B, 0xAA, 0xEC, 0x52, 0x43, 0xDB, 0x98 } , // 0 - eShop Titles
	{ 0x4A, 0xAA, 0x3D, 0x0E, 0x27, 0xD4, 0xD7, 0x28, 0xD0, 0xB1, 0xB4, 0x33, 0xF0, 0xF9, 0xCB, 0xC8 } , // 1 - System Titles
	{ 0xFB, 0xB0, 0xEF, 0x8C, 0xDB, 0xB0, 0xD8, 0xE4, 0x53, 0xCD, 0x99, 0x34, 0x43, 0x71, 0x69, 0x7F } , // 2
	{ 0x25, 0x95, 0x9B, 0x7A, 0xD0, 0x40, 0x9F, 0x72, 0x68, 0x41, 0x98, 0xBA, 0x2E, 0xCD, 0x7D, 0xC6 } , // 3
	{ 0x7A, 0xDA, 0x22, 0xCA, 0xFF, 0xC4, 0x76, 0xCC, 0x82, 0x97, 0xA0, 0xC7, 0xCE, 0xEE, 0xEE, 0xBE } , // 4
	{ 0xA5, 0x05, 0x1C, 0xA1, 0xB3, 0x7D, 0xCF, 0x3A, 0xFB, 0xCF, 0x8C, 0xC1, 0xED, 0xD9, 0xCE, 0x02 } , // 5
};

// RSA KEYS
static const CtrRsa4096Key root_ppki_rsa =
{
	.modulus = { 0xF8, 0x24, 0x6C, 0x58, 0xBA, 0xE7, 0x50, 0x03, 0x01, 0xFB, 0xB7, 0xC2, 0xEB, 0xE0, 0x01, 0x05, 0x71, 0xDA, 0x92, 0x23, 0x78, 0xF0, 0x51, 0x4E, 0xC0, 0x03, 0x1D, 0xD0, 0xD2, 0x1E, 0xD3, 0xD0, 0x7E, 0xFC, 0x85, 0x20, 0x69, 0xB5, 0xDE, 0x9B, 0xB9, 0x51, 0xA8, 0xBC, 0x90, 0xA2, 0x44, 0x92, 0x6D, 0x37, 0x92, 0x95, 0xAE, 0x94, 0x36, 0xAA, 0xA6, 0xA3, 0x02, 0x51, 0x0C, 0x7B, 0x1D, 0xED, 0xD5, 0xFB, 0x20, 0x86, 0x9D, 0x7F, 0x30, 0x16, 0xF6, 0xBE, 0x65, 0xD3, 0x83, 0xA1, 0x6D, 0xB3, 0x32, 0x1B, 0x95, 0x35, 0x18, 0x90, 0xB1, 0x70, 0x02, 0x93, 0x7E, 0xE1, 0x93, 0xF5, 0x7E, 0x99, 0xA2, 0x47, 0x4E, 0x9D, 0x38, 0x24, 0xC7, 0xAE, 0xE3, 0x85, 0x41, 0xF5, 0x67, 0xE7, 0x51, 0x8C, 0x7A, 0x0E, 0x38, 0xE7, 0xEB, 0xAF, 0x41, 0x19, 0x1B, 0xCF, 0xF1, 0x7B, 0x42, 0xA6, 0xB4, 0xED, 0xE6, 0xCE, 0x8D, 0xE7, 0x31, 0x8F, 0x7F, 0x52, 0x04, 0xB3, 0x99, 0x0E, 0x22, 0x67, 0x45, 0xAF, 0xD4, 0x85, 0xB2, 0x44, 0x93, 0x00, 0x8B, 0x08, 0xC7, 0xF6, 0xB7, 0xE5,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, 0x8F, 0x2A, 0xB5, 0xA7, 0x6F, 0x50, 0xD0, 0xF7, 0xD1, 0xF1, 0x19, 0xC9, 0xAC, 0x22, 0x7E, 0x05, 0x11, 0xF5, 0xF2, 0x6D, 0xEE, 0x92, 0x27, 0x57, 0x5F, 0xE5, 0x15, 0x0D, 0x27, 0x68, 0xBF, 0x52, 0x65, 0x74, 0x73, 0xA6, 0x58, 0x6D, 0x79, 0x18, 0xAC, 0x31, 0xDD, 0xDD, 0x80, 0x8B, 0x75, 0x24, 0xE1, 0x17, 0xE1, 0x95, 0x25, 0x16, 0x29, 0xAB, 0x69, 0x69, 0xC8, 0x28, 0xEE, 0x5D },
	.priv_exponent = { 0 }
};

static const CtrRsa2048Key prod_accessdesc_rsa =
{
	.modulus = { 0xB1, 0xE3, 0xE3, 0x5F, 0x01, 0x39, 0x80, 0xD1, 0x56, 0x78, 0x9D, 0xB7, 0x06, 0xF7, 0x1D, 0xBF, 0x3E, 0x22, 0x76, 0xED, 0xF9, 0x5D, 0xA2, 0x36, 0xB6, 0x30, 0x61, 0x05, 0x96, 0xD3, 0x00, 0xB9, 0xED, 0xF1, 0xD7, 0xE0, 0x1D, 0xA0, 0x4F, 0xB7, 0xCF, 0x5A, 0x19, 0x87, 0x75, 0x49, 0x88, 0x40, 0xED, 0xE3, 0x6F, 0x7C, 0x90, 0x4A, 0x64, 0x45, 0x98, 0xD7, 0x04, 0xB9, 0x5A, 0x6B, 0x45, 0xAA, 0x7E, 0x94, 0xC0, 0xB3, 0xB7, 0xDB, 0x7B, 0x66, 0x59, 0x20, 0xB7, 0x08, 0xE2, 0xF3, 0x83, 0xA3, 0x7F, 0xE3, 0x20, 0x21, 0xA0, 0xEB, 0xB7, 0x28, 0x0F, 0xF3, 0x2B, 0x15, 0xA4, 0xC9, 0xD0, 0xAB, 0x89, 0x39, 0x99, 0x7E, 0x76, 0x5F, 0x9E, 0x4D, 0x1E, 0x01, 0x22, 0x8D, 0x74, 0xA6, 0xEB, 0x9A, 0xA3, 0x9D, 0x45, 0xE5, 0x10, 0x61, 0x6E, 0x20, 0xFD, 0x23, 0x75, 0xC0, 0xC5, 0x05, 0x03, 0xC5, 0x4C, 0x02, 0x4F, 0x54, 0x4B, 0x57, 0x08, 0xB4, 0x46, 0xC3, 0x2C, 0xF1, 0xF9, 0x52, 0x6C, 0xCD, 0x14, 0x55, 0xA8, 0x55, 0x92, 0x6D, 0xE2, 0x4A, 0x41, 0x46, 0xEB, 0x08, 0xC5, 0xF3, 0xB4, 0x8D, 0x0D, 0x5E, 0x21, 0xEA, 0xAF, 0x4D, 0x27, 0x4D, 0xDE, 0x77, 0x93, 0x97, 0xE2, 0xC7, 0x6B, 0x66, 0x1F, 0xDB, 0x2D, 0x6E, 0xA9, 0x5F, 0x61, 0x14, 0x17, 0x7B, 0x2B, 0x66, 0x5A, 0xB5, 0x01, 0x89, 0xF2, 0x23, 0x75, 0x25, 0x25, 0x9C, 0x86, 0x9A, 0x89, 0xFF, 0x64, 0x1D, 0x5B, 0xCE, 0xD7, 0x7E, 0x3F, 0x2D, 0xA8, 0xDA, 0xB5, 0x5A, 0xC5, 0x5F, 0x59, 0x20, 0xB0, 0xED, 0x1C, 0x91, 0xFF, 0xA3, 0x27, 0xB8, 0x8E, 0xCF, 0x82, 0x15, 0xE5, 0x49, 0xEF, 0xE4, 0x58, 0xE1, 0x5F, 0x8F, 0x53, 0xB9, 0x33, 0x2A, 0x56, 0x24, 0xAA, 0xA1, 0xD3, 0x6E, 0x47, 0x1A, 0x63, 0x44, 0x19, 0xB3, 0x8E, 0xA5 },
	.priv_exponent = { 0 }
};

static const CtrRsa2048Key prod_firm_rsa =
{
	.modulus = { 0xDE, 0xCF, 0xB6, 0xFC, 0x3D, 0x33, 0xE9, 0x55, 0xFD, 0xAC, 0x90, 0xE8, 0x88, 0x17, 0xB0, 0x03, 0xA1, 0x6B, 0x9A, 0xAB, 0x72, 0x70, 0x79, 0x32, 0xA2, 0xA0, 0x8C, 0xBB, 0x33, 0x6F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, 0x2A, 0xE8, 0x56, 0x64, 0xB2, 0xB6, 0xC0, 0x93, 0xAF, 0x4D, 0x38, 0xA0, 0x16, 0x5C, 0xE4, 0xBD, 0x62, 0xC2, 0x46, 0x6B, 0xC9, 0x5A, 0x59, 0x4A, 0x72, 0x58, 0xFD, 0xB2, 0xCC, 0x36, 0x87, 0x30, 0x85, 0xE8, 0xA1, 0x04, 0x5B, 0xE0, 0x17, 0x9B, 0xD0, 0xEC, 0x9B },
	.priv_exponent = { 0 }
};

//Certificates
static const unsigned char ca3_ppki_cert[0x400] =
{
	0x00, 0x01, 0x00, 0x03, 0x70, 0x41, 0x38, 0xEF,  0xBB, 0xBD, 0xA1, 0x6A, 0x98, 0x7D, 0xD9, 0x01,  0x32, 0x6D, 0x1C, 0x94, 0x59, 0x48, 0x4C, 0x88,  0xA2, 0x86, 0x1B, 0x91, 0xA3, 0x12, 0x58, 0x7A,  0xE7, 0x0E, 0xF6, 0x23, 0x7E, 0xC5, 0x0E, 0x10,  0x32, 0xDC, 0x39, 0xDD, 0xE8, 0x9A, 0x96, 0xA8,  0xE8, 0x59, 0xD7, 0x6A, 0x98, 0xA6, 0xE7, 0xE3,  0x6A, 0x0C, 0xFE, 0x35, 0x2C, 0xA8, 0x93, 0x05,  0x82, 0x34, 0xFF, 0x83, 0x3F, 0xCB, 0x3B, 0x03,  0x81, 0x1E, 0x9F, 0x0D, 0xC0, 0xD9, 0xA5, 0x2F,  0x80, 0x45, 0xB4, 0xB2, 0xF9, 0x41, 0x1B, 0x67,  0xA5, 0x1C, 0x44, 0xB5, 0xEF, 0x8C, 0xE7, 0x7B,  0xD6, 0xD5, 0x6B, 0xA7, 0x57, 0x34, 0xA1, 0x85,  0x6D, 0xE6, 0xD4, 0xBE, 0xD6, 0xD3, 0xA2, 0x42,  0xC7, 0xC8, 0x79, 0x1B, 0x34, 0x22, 0x37, 0x5E,  0x5C, 0x77, 0x9A, 0xBF, 0x07, 0x2F, 0x76, 0x95,  0xEF, 0xA0, 0xF7, 0x5B, 0xCB, 0x83, 0x78, 0x9F,  0xC3, 0x0E, 0x3F, 0xE4, 0xCC, 0x83, 0x92, 0x20,  0x78, 0x40, 0x63, 0x89, 0x49, 0xC7, 0xF6, 0x88,  0x56, 0x5F, 0x64, 0x9B, 0x74, 0xD6, 0x3D, 0x8D,  0x58, 0xFF, 0xAD, 0xDA, 0x57, 0x1E, 0x95, 0x54,  0x42, 0x6B, 0x13, 0x18, 0xFC, 0x46, 0x89, 0x83,  0xD4, 0xC8, 0xA5, 0x62, 0x8B, 0x06, 0xB6, 0xFC,  0x5D, 0x50, 0x7C, 0x13, 0xE7, 0xA1, 0x8A, 0xC1,  0x51, 0x1E, 0xB6, 0xD6, 0x2E, 0xA5, 0x44, 0x8F,  0x83, 0x50, 0x14, 0x47, 0xA9, 0xAF, 0xB3, 0xEC,  0xC2, 0x90, 0x3C, 0x9D, 0xD5, 0x2F, 0x92, 0x2A,  0xC9, 0xAC, 0xDB, 0xEF, 0x58, 0xC6, 0x02, 0x18,  0x48, 0xD9, 0x6E, 0x20, 0x87, 0x32, 0xD3, 0xD1,  0xD9, 0xD9, 0xEA, 0x44, 0x0D, 0x91, 0x62, 0x1C,  0x7A, 0x99, 0xDB, 0x88, 0x43, 0xC5, 0x9C, 0x1F,  0x2E, 0x2C, 0x7D, 0x9B, 0x57, 0x7D, 0x51, 0x2C,  0x16, 0x6D, 0x6F, 0x7E, 0x1A, 0xAD, 0x4A, 0x77,  0x4A, 0x37, 0x44, 0x7E, 0x78, 0xFE, 0x20, 0x21,  0xE1, 0x4A, 0x95, 0xD1, 0x12, 0xA0, 0x68, 0xAD,  0xA0, 0x19, 0xF4, 0x63, 0xC7, 0xA5, 0x56, 0x85,  0xAA, 0xBB, 0x68, 0x88, 0xB9, 0x24, 0x64, 0x83,  0xD1, 0x8B, 0x9C, 0x80, 0x6F, 0x47, 0x49, 0x18,  0x33, 0x17, 0x82, 0x34, 0x4A, 0x4B, 0x85, 0x31,  0x33, 0x4B, 0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x10, 0xB0, 0x82, 0x56, 0xCE, 0x3F, 0xD2,  0x5B, 0x74, 0x5E, 0x51, 0x94, 0x90, 0x6B, 0x4D,  0x61, 0xCB, 0x4C, 0x2E, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x52, 0x6F, 0x6F, 0x74, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x01, 0x43, 0x41, 0x30, 0x30,  0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x7B, 0xE8, 0xEF, 0x6C,  0xB2, 0x79, 0xC9, 0xE2, 0xEE, 0xE1, 0x21, 0xC6,  0xEA, 0xF4, 0x4F, 0xF6, 0x39, 0xF8, 0x8F, 0x07,  0x8B, 0x4B, 0x77, 0xED, 0x9F, 0x95, 0x60, 0xB0,  0x35, 0x82, 0x81, 0xB5, 0x0E, 0x55, 0xAB, 0x72,  0x11, 0x15, 0xA1, 0x77, 0x70, 0x3C, 0x7A, 0x30,  0xFE, 0x3A, 0xE9, 0xEF, 0x1C, 0x60, 0xBC, 0x1D,  0x97, 0x46, 0x76, 0xB2, 0x3A, 0x68, 0xCC, 0x04,  0xB1, 0x98, 0x52, 0x5B, 0xC9, 0x68, 0xF1, 0x1D,  0xE2, 0xDB, 0x50, 0xE4, 0xD9, 0xE7, 0xF0, 0x71,  0xE5, 0x62, 0xDA, 0xE2, 0x09, 0x22, 0x33, 0xE9,  0xD3, 0x63, 0xF6, 0x1D, 0xD7, 0xC1, 0x9F, 0xF3,  0xA4, 0xA9, 0x1E, 0x8F, 0x65, 0x53, 0xD4, 0x71,  0xDD, 0x7B, 0x84, 0xB9, 0xF1, 0xB8, 0xCE, 0x73,  0x35, 0xF0, 0xF5, 0x54, 0x05, 0x63, 0xA1, 0xEA,  0xB8, 0x39, 0x63, 0xE0, 0x9B, 0xE9, 0x01, 0x01,  0x1F, 0x99, 0x54, 0x63, 0x61, 0x28, 0x70, 0x20,  0xE9, 0xCC, 0x0D, 0xAB, 0x48, 0x7F, 0x14, 0x0D,  0x66, 0x26, 0xA1, 0x83, 0x6D, 0x27, 0x11, 0x1F,  0x20, 0x68, 0xDE, 0x47, 0x72, 0x14, 0x91, 0x51,  0xCF, 0x69, 0xC6, 0x1B, 0xA6, 0x0E, 0xF9, 0xD9,  0x49, 0xA0, 0xF7, 0x1F, 0x54, 0x99, 0xF2, 0xD3,  0x9A, 0xD2, 0x8C, 0x70, 0x05, 0x34, 0x82, 0x93,  0xC4, 0x31, 0xFF, 0xBD, 0x33, 0xF6, 0xBC, 0xA6,  0x0D, 0xC7, 0x19, 0x5E, 0xA2, 0xBC, 0xC5, 0x6D,  0x20, 0x0B, 0xAF, 0x6D, 0x06, 0xD0, 0x9C, 0x41,  0xDB, 0x8D, 0xE9, 0xC7, 0x20, 0x15, 0x4C, 0xA4,  0x83, 0x2B, 0x69, 0xC0, 0x8C, 0x69, 0xCD, 0x3B,  0x07, 0x3A, 0x00, 0x63, 0x60, 0x2F, 0x46, 0x2D,  0x33, 0x80, 0x61, 0xA5, 0xEA, 0x6C, 0x91, 0x5C,  0xD5, 0x62, 0x35, 0x79, 0xC3, 0xEB, 0x64, 0xCE,  0x44, 0xEF, 0x58, 0x6D, 0x14, 0xBA, 0xAA, 0x88,  0x34, 0x01, 0x9B, 0x3E, 0xEB, 0xEE, 0xD3, 0x79,  0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

static const unsigned char xsC_ppki_cert[0x300] = 
{
	0x00, 0x01, 0x00, 0x04, 0x91, 0x9E, 0xBE, 0x46, 0x4A, 0xD0, 0xF5, 0x52, 0xCD, 0x1B, 0x72, 0xE7, 0x88, 0x49, 0x10, 0xCF, 0x55, 0xA9, 0xF0, 0x2E, 0x50, 0x78, 0x96, 0x41, 0xD8, 0x96, 0x68, 0x3D, 0xC0, 0x05, 0xBD, 0x0A, 0xEA, 0x87, 0x07, 0x9D, 0x8A, 0xC2, 0x84, 0xC6, 0x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, 0xFC, 0x5A, 0xD6, 0x4B, 0xAB, 0x28, 0xB1, 0xFF, 0x60, 0x66, 0x1F, 0x44, 0x37, 0xD4, 0x9E, 0x1E, 0x0D, 0x94, 0x12, 0xEB, 0x4B, 0xCA, 0xCF, 0x4C, 0xFD, 0x6A, 0x34, 0x08, 0x84, 0x79, 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x6F, 0x6F, 0x74, 0x2D, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x58, 0x53, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x63, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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x02, 0xDE, 0xB3, 0x91, 0xB0, 0x66, 0x61, 0xCD, 0x32, 0x88, 0x0B, 0xD6, 0x49, 0x12, 0xAF, 0x1C, 0xBC, 0xB7, 0x16, 0x2A, 0x06, 0xF0, 0x25, 0x65, 0xD3, 0xB0, 0xEC, 0xE4, 0xFC, 0xEC, 0xDD, 0xAE, 0x8A, 0x49, 0x34, 0xDB, 0x8E, 0xE6, 0x7F, 0x30, 0x17, 0x98, 0x62, 0x21, 0x15, 0x5D, 0x13, 0x1C, 0x6C, 0x3F, 0x09, 0xAB, 0x19, 0x45, 0xC2, 0x06, 0xAC, 0x70, 0xC9, 0x42, 0xB3, 0x6F, 0x49, 0xA1, 0x18, 0x3B, 0xCD, 0x78, 0xB6, 0xE4, 0xB4, 0x7C, 0x6C, 0x5C, 0xAC, 0x0F, 0x8D, 0x62, 0xF8, 0x97, 0xC6, 0x95, 0x3D, 0xD1, 0x2F, 0x28, 0xB7, 0x0C, 0x5B, 0x7D, 0xF7, 0x51, 0x81, 0x9A, 0x98, 0x34, 0x65, 0x26, 0x25, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

static const unsigned char cpB_ppki_cert[0x300] = 
{
	0x00, 0x01, 0x00, 0x04, 0x2E, 0xA6, 0x6C, 0x66, 0xCF, 0xF3, 0x35, 0x79, 0x7D, 0x04, 0x97, 0xB7, 0x7A, 0x19, 0x7F, 0x9F, 0xE5, 0x1A, 0xB5, 0xA4, 0x13, 0x75, 0xDC, 0x73, 0xFD, 0x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x78, 0xB8, 0x23, 0xA0, 0x72, 0xD3, 0x4F, 0xF3, 0xEC, 0xF9, 0xBD, 0x11, 0xA2, 0x9A, 0xF1, 0x6C, 0x33, 0xBD, 0x09, 0xAF, 0xB2, 0xD7, 0x4D, 0x53, 0x4E, 0x02, 0x7C, 0x19, 0x24, 0x0D, 0x59, 0x5A, 0x68, 0xEB, 0xB3, 0x05, 0xAC, 0xC4, 0x4A, 0xB3, 0x8A, 0xB8, 0x20, 0xC6, 0xD4, 0x26, 0x56, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x6F, 0x6F, 0x74, 0x2D, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x43, 0x50, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x62, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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2D, 0x53, 0x8B, 0xB5, 0x33, 0x5B, 0x41, 0x53, 0x34, 0x2D, 0x43, 0x35, 0xAC, 0xF5, 0x90, 0xD0, 0xD3, 0x0A, 0xE2, 0x04, 0x3C, 0x7F, 0x5A, 0xD2, 0x14, 0xFC, 0x9C, 0x0F, 0xE6, 0xFA, 0x40, 0xA5, 0xC8, 0x65, 0x06, 0xCA, 0x63, 0x69, 0xBC, 0xEE, 0x44, 0xA3, 0x2D, 0x9E, 0x69, 0x5C, 0xF0, 0x0B, 0x4F, 0xD7, 0x9A, 0xDB, 0x56, 0x8D, 0x14, 0x9C, 0x20, 0x28, 0xA1, 0x4C, 0x9D, 0x71, 0xB8, 0x50, 0xCA, 0x36, 0x5B, 0x37, 0xF7, 0x0B, 0x65, 0x77, 0x91, 0xFC, 0x5D, 0x72, 0x8C, 0x4E, 0x18, 0xFD, 0x22, 0x55, 0x7C, 0x40, 0x62, 0xD7, 0x47, 0x71, 0x53, 0x3C, 0x70, 0x17, 0x9D, 0x3D, 0xAE, 0x8F, 0x92, 0xB1, 0x17, 0xE4, 0x5C, 0xB3, 0x32, 0xF3, 0xB3, 0xC2, 0xA2, 0x2E, 0x70, 0x5C, 0xFE, 0xC6, 0x6F, 0x6D, 0xA3, 0x77, 0x2B, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};